import { IsNotEmpty } from 'class-validator';
export class CreatePersonalChannelDto {
  @IsNotEmpty({message: '名称不能为空'})
  personalCarName: string

  @IsNotEmpty({message: '指导价不能为空'})
  personalCarPrice: number

  @IsNotEmpty({message: '品牌不能为空'})
  brand: string

  mileage?: number

  registrationDate?: string

  homeLocation?: string

  emissionStandard?: string

  energy?: number

  insuranceDate?: string

  gearbox?: string

  annualInspection?: string

  location?: string

  usingNature?: number

  @IsNotEmpty({message: '联系电话不能为空'})
  phone: string

  description?: string

  @IsNotEmpty({message: '所需积分不能为空'})
  useCoin: number
}
